#include "..\\include\cfg_items.h"
#include "config_data.h"

#pragma diag_suppress=Pe177

__root const CFG_HDR cfghdr0={CFG_CHECKBOX,"Show info",0,0};
__root const int IS_NAP=1;

__root const CFG_HDR cfghdr1={CFG_CHECKBOX,"Counter",0,0};
__root const int Counter=1;

__root const CFG_HDR cfghdr2={CFG_UINT,"Zoom step",1,100};
__root const unsigned int zoom=50;

__root const CFG_HDR cfghdr3={CFG_CBOX,"Style DB",0,5};
__root const int STYL=0;
__root const CFG_CBOX_ITEM cfgcbox1[5]={"Style 0 (st)","Style 1(3x3)","Style 2 (FS)","Style 3 (List)","Style 4"};

__root const CFG_HDR cfghdr_2={CFG_LEVEL,"Setup GUI",1,0};
  __root const CFG_HDR cfghdr4={CFG_COLOR_INT,"Background color",0,0};
  __root const unsigned int bg_cl=0xFF000000;

  __root const CFG_HDR cfghdr5={CFG_COLOR_INT,"Text color",0,0};
  __root const unsigned int col1=0xFFFFFF00;
  
  __root const CFG_HDR cfghdr11={CFG_FONT,"Font",0,0};
  __root const int FONT=0x11;
  
  __root const CFG_HDR cfghdr6={CFG_COORDINATES,"Info position",0,0};
  __root const int i_X_POS=1;
  __root const int i_Y_POS=1;
  
  __root const CFG_HDR cfghdr7={CFG_COORDINATES,"Counter position",0,0};
  __root const int c_X_POS=1;
  __root const int c_Y_POS=28;
__root const CFG_HDR cfghdr_3={CFG_LEVEL,"",0,0};

__root const CFG_HDR cfghdr12={CFG_CHECKBOX,"Autostretch",0,0};
__root const int autostretch=1;

__root const CFG_HDR cfghdr13={CFG_CHECKBOX,"Autorotate",0,0};
__root const int autoorient=1;

__root const CFG_HDR cfghdr_4={CFG_LEVEL,"Setup keys",1,0};

  __root const CFG_HDR cfghdr14={CFG_KEYCODE,"Left",0,0};
  __root const int LEFT_KEY=0x17;
  __root const int LEFTKEYMODE=0;

  __root const CFG_HDR cfghdr15={CFG_KEYCODE,"Right",0,0};
  __root const int RIGHT_KEY=0x19;
  __root const int RIGHTKEYMODE=0;

  __root const CFG_HDR cfghdr16={CFG_KEYCODE,"Up",0,0};
  __root const int UP_KEY=0x15;
  __root const int UPKEYMODE=0;

  __root const CFG_HDR cfghdr17={CFG_KEYCODE,"Down",0,0};
  __root const int DOWN_KEY=0x1B;
  __root const int DOWNKEYMODE=0;

  __root const CFG_HDR cfghdr18={CFG_KEYCODE,"Zoom +",0,0};
  __root const int ZOOMI_KEY=0x16;
  __root const int ZOOMIKEYMODE=0;

  __root const CFG_HDR cfghdr19={CFG_KEYCODE,"Zoom -",0,0};
  __root const int ZOOMD_KEY=0x14;
  __root const int ZOOMDKEYMODE=0;

  __root const CFG_HDR cfghdr20={CFG_KEYCODE,"Center",0,0};
  __root const int CENTER_KEY=0x18;
  __root const int CENTERKEYMODE=0;
  
  __root const CFG_HDR cfghdr21={CFG_KEYCODE,"Next image",0,0};
  __root const int NEXT_KEY=0x0B;
  __root const int NEXTKEYMODE=0;

  __root const CFG_HDR cfghdr22={CFG_KEYCODE,"Prev image",0,0};
  __root const int PREV_KEY=0x0F;
  __root const int PREVKEYMODE=0;

  __root const CFG_HDR cfghdr23={CFG_KEYCODE,"Rotate",0,0};
  __root const int ORIENT_KEY=0x1D;
  __root const int ORIENTKEYMODE=0;

  __root const CFG_HDR cfghdr24={CFG_KEYCODE,"Stretch",0,0};
  __root const int STR_KEY=0x13;
  __root const int STRKEYMODE=0;

  __root const CFG_HDR cfghdr25={CFG_KEYCODE,"Real size",0,0};
  __root const int RS_KEY=0x1E;
  __root const int RSKEYMODE=0;

  __root const CFG_HDR cfghdr26={CFG_KEYCODE,"Show/hide info",0,0};
  __root const int SI_KEY=0x1A;
  __root const int SIKEYMODE=0;
__root const CFG_HDR cfghdr_5={CFG_LEVEL,"",0,0};
